package cn.com.digitalnet.ad.util;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springside.modules.mapper.JsonMapper;

@Component
public class JsonUtils {
	
	@Autowired static JsonMapper jsonMapper;
	public static List getBeans(List list,Class beanType){
		
		jsonMapper.contructCollectionType(list.getClass(), beanType);
		for(int i =0; i< list.size();i++){
//			jsonMapper.fromJson(list.get(i)., beanType);
		}
		return null;
	}
}
